/* eslint-disable import/no-unresolved */
<template>
  <img alt="Vue logo" src="./assets/logo.png">
  <van-button type="primary">主要按钮</van-button>
  <van-button type="success">成功按钮</van-button>
  <van-button type="default">默认按钮</van-button>
  <van-button type="warning">警告按钮</van-button>
  <van-button type="danger">危险按钮</van-button>
  <HelloWorld msg="Hello Vue 3 + Vite" />

  <div class="text-red-600">这是一段代码</div>
  <div class="bg-gradient-to-r from-green-400 to-blue-500
    m-4 px-4 py-3 text-white text-center italic rounded cursor-default
    transition-all duration-400
    hover:rounded-2xl
    dark:(from-teal-400 to-yellow-500)"
  >
    Button
  </div>

  <div class="flex justify-between">
    <div class="bg-green-200 w-200px">测试1</div>
    <div class="bg-red-200 flex-grow">测试2</div>
    <div class="bg-blue-200 w-40">测试3</div>
  </div>
</template>

<script setup>
import HelloWorld from '@/components/HelloWorld.vue';

// This starter template is using Vue 3 experimental <script setup> SFCs
// Check out https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md

</script>

<style>
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }

</style>
